<template>
  <div>
    <p>我是爸爸</p>
    <son v-bind="$attrs" v-on="$listeners"></son>
    <!-- <son :psw="$attrs.psw" ></son> -->
  </div>
</template>

<script>
import son from "./son.vue";
export default {
     inheritAttrs: false,
  components: {
    son,
  },
  created(){
    console.log(this.$attrs,this.$listeners);
  }
};
</script>

<style>
</style>